extends ../template/base

block stylesheet
    link(type="text/css",rel="stylesheet",href="#{rootPath}/start/css/index.css")

block header
    include ../template/header
block left
    include ../template/left

block right
    #right
        .navigation
            .ui.breadcrumb
                .section 首页
                i.right.angle.icon.divider
                .active.section App启动设置
        .app_start
            table.ui.celled.table
                thead
                    tr
                        th(width='20%') 名称
                        th(width='30%') 图片地址
                        th(width='30%') 内容地址
                        th(width='20%') 显示时间
                tbody
                    tr(v-for="item in params.photos")
                        td {{item.name}}
                        td
                            .img
                                img(v-if="typeof item.photoUrl != 'undefined'" v-bind:src="imgUrl(item.photoUrl)")
                                .address {{item.photoUrl}}
                        td {{item.contentUrl}}
                        td {{params.date}}
                tfoot
                    tr
                        th(colspan='4')
                            span.left 说明:最多五条记录
                            a.edit(href='#{rootPath}/start/create') 编辑

block javascript
    script(type='text/javascript',src='#{rootPath}/start/js/index.js')

